package com.example.mybatis_plus_demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.mybatis_plus_demo.model.UserInfo;
import org.apache.ibatis.annotations.Mapper;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: fzykd
 * Date: 2022-12-19
 * Time: 20:55
 */

@Mapper
public interface UserMapper extends BaseMapper<UserInfo> {
    //一个要继承 继承之后 什么都不用写 就可以完成基本的增删查改

    //自定义方法的查询
    UserInfo getPassword(String password);
}
